home *** CD-ROM | disk | FTP | other *** search
/ Freelog 117 / FreelogNo117-OctobreNovembre2013.iso / Programmation / jedit / jedit5.1.0install.exe / {app} / modes / tld.xml < prev    next >
Extensible Markup Language  |  2013-07-28  |  7KB  |  258 lines

  1. <?xml version="1.0"?>
  2. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  3. <!-- mode for tag library description (tld) files -->
  4. <MODE>
  5.     <PROPS>
  6.         <PROPERTY NAME="commentStart" VALUE="<!--" />
  7.         <PROPERTY NAME="commentEnd" VALUE="-->" />
  8.     </PROPS>
  9.     <!-- {{{ MAIN -->
  10.     <RULES>
  11.         <!-- SGML comment -->
  12.         <SPAN TYPE="COMMENT1">
  13.             <BEGIN><!--</BEGIN>
  14.             <END>--></END>
  15.         </SPAN>
  16.  
  17.         <!-- DTD Entity declarations -->
  18.         <SPAN TYPE="KEYWORD2" DELEGATE="ENTITY-TAGS">
  19.             <BEGIN><!ENTITY</BEGIN>
  20.             <END>></END>
  21.         </SPAN>
  22.  
  23.         <!-- CDATA sections -->
  24.         <SPAN TYPE="KEYWORD2" DELEGATE="CDATA">
  25.             <BEGIN><![CDATA[</BEGIN>
  26.             <END>]]></END>
  27.         </SPAN>
  28.  
  29.         <!-- DTD instructions -->
  30.         <SPAN TYPE="KEYWORD2" DELEGATE="DTD-TAGS">
  31.             <BEGIN><!</BEGIN>
  32.             <END>></END>
  33.         </SPAN>
  34.  
  35.         <!-- PI directives -->
  36.         <SPAN TYPE="KEYWORD3">
  37.             <BEGIN><?</BEGIN>
  38.             <END>></END>
  39.         </SPAN>
  40.  
  41.         <!-- markup tags -->
  42.         <SPAN TYPE="MARKUP" DELEGATE="TAGS">
  43.             <BEGIN><</BEGIN>
  44.             <END>></END>
  45.         </SPAN>
  46.  
  47.         <!-- SGML entities -->
  48.         <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
  49.             <BEGIN>&</BEGIN>
  50.             <END>;</END>
  51.         </SPAN>
  52.  
  53.         <KEYWORDS>
  54.             <KEYWORD4>tagdependent</KEYWORD4>
  55.             <KEYWORD4>empty</KEYWORD4>
  56.             <KEYWORD4>scriptless</KEYWORD4>
  57.             <KEYWORD4>true</KEYWORD4>
  58.             <KEYWORD4>false</KEYWORD4>
  59.             <KEYWORD4>NESTED</KEYWORD4>
  60.             <KEYWORD4>AT_BEGIN</KEYWORD4>
  61.             <KEYWORD4>AT_END</KEYWORD4>
  62.         </KEYWORDS>
  63.  
  64.     </RULES>
  65.     <!-- }}} -->
  66.     
  67.     <!-- {{{ TAGS -->
  68.     <RULES SET="TAGS" DEFAULT="MARKUP" NO_WORD_SEP="-_">
  69.         <!-- SGML comment -->
  70.         <SPAN TYPE="COMMENT1">
  71.             <BEGIN><!--</BEGIN>
  72.             <END>--></END>
  73.         </SPAN>
  74.  
  75.         <SPAN TYPE="LITERAL1">
  76.             <BEGIN>"</BEGIN>
  77.             <END>"</END>
  78.         </SPAN>
  79.  
  80.         <SPAN TYPE="LITERAL1">
  81.             <BEGIN>'</BEGIN>
  82.             <END>'</END>
  83.         </SPAN>
  84.  
  85.         <SEQ TYPE="MARKUP" DELEGATE="STRING">"</SEQ>
  86.  
  87.         <SEQ TYPE="MARKUP" DELEGATE="tld::MAIN">/></SEQ>
  88.         <MARK_PREVIOUS TYPE="LABEL">:</MARK_PREVIOUS>
  89.         <SEQ TYPE="OPERATOR">:</SEQ>
  90.         <KEYWORDS>
  91.             <KEYWORD1>taglib</KEYWORD1>
  92.             <KEYWORD1>tag</KEYWORD1>
  93.             <KEYWORD1>tag-file</KEYWORD1>
  94.             <KEYWORD1>function</KEYWORD1>
  95.             <KEYWORD1>tag-extension</KEYWORD1>
  96.             <KEYWORD1>validator</KEYWORD1>
  97.  
  98.             <KEYWORD2>description</KEYWORD2>
  99.             <KEYWORD2>display-name</KEYWORD2>
  100.             <KEYWORD2>icon</KEYWORD2>
  101.             <KEYWORD2>tlib-version</KEYWORD2>
  102.             <KEYWORD2>short-name</KEYWORD2>
  103.             <KEYWORD2>uri</KEYWORD2>
  104.             <KEYWORD2>listener</KEYWORD2>
  105.             <KEYWORD2>validator-class</KEYWORD2>
  106.             <KEYWORD2>init-param</KEYWORD2>
  107.             <KEYWORD2>name</KEYWORD2>
  108.             <KEYWORD2>path</KEYWORD2>
  109.             <KEYWORD2>example</KEYWORD2>
  110.             <KEYWORD2>tag-extension</KEYWORD2>
  111.             <KEYWORD2>tag-class</KEYWORD2>
  112.             <KEYWORD2>tei-class</KEYWORD2>
  113.             <KEYWORD2>body-content</KEYWORD2>
  114.             <KEYWORD2>variable</KEYWORD2>
  115.             <KEYWORD2>attribute</KEYWORD2>
  116.             <KEYWORD2>dynamic-attributes</KEYWORD2>
  117.             <KEYWORD2>required</KEYWORD2>
  118.             <KEYWORD2>rtexprvalue</KEYWORD2>
  119.             <KEYWORD2>type</KEYWORD2>
  120.             <KEYWORD2>fragment</KEYWORD2>
  121.             <KEYWORD2>name-given</KEYWORD2>
  122.             <KEYWORD2>name-from-attribute</KEYWORD2>
  123.             <KEYWORD2>variable-class</KEYWORD2>
  124.             <KEYWORD2>declare</KEYWORD2>
  125.             <KEYWORD2>scope</KEYWORD2>
  126.  
  127.  
  128.         </KEYWORDS>
  129.     </RULES>
  130.     <!-- }}} -->
  131.     
  132.     <!-- {{{ DTD-TAGS -->
  133.     <RULES SET="DTD-TAGS" DEFAULT="KEYWORD2" IGNORE_CASE="FALSE">
  134.         <!-- SGML comment -->
  135.         <SPAN TYPE="COMMENT1">
  136.             <BEGIN><!--</BEGIN>
  137.             <END>--></END>
  138.         </SPAN>
  139.  
  140.         <!-- SGML comment -->
  141.         <SPAN TYPE="COMMENT1">
  142.             <BEGIN>--</BEGIN>
  143.             <END>--</END>
  144.         </SPAN>
  145.  
  146.         <!-- Parameter entities -->
  147.         <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
  148.             <BEGIN>%</BEGIN>
  149.             <END>;</END>
  150.         </SPAN>
  151.  
  152.         <SPAN TYPE="LITERAL1">
  153.             <BEGIN>"</BEGIN>
  154.             <END>"</END>
  155.         </SPAN>
  156.  
  157.         <SPAN TYPE="LITERAL1">
  158.             <BEGIN>'</BEGIN>
  159.             <END>'</END>
  160.         </SPAN>
  161.  
  162.         <!-- This appears in some SGML documents -->
  163.         <SPAN TYPE="KEYWORD2" DELEGATE="MAIN">
  164.             <BEGIN>[</BEGIN>
  165.             <END>]</END>
  166.         </SPAN>
  167.  
  168.         <SEQ TYPE="OPERATOR">(</SEQ>
  169.         <SEQ TYPE="OPERATOR">)</SEQ>
  170.         <SEQ TYPE="OPERATOR">|</SEQ>
  171.         <SEQ TYPE="OPERATOR">?</SEQ>
  172.         <SEQ TYPE="OPERATOR">*</SEQ>
  173.         <SEQ TYPE="OPERATOR">+</SEQ>
  174.         <SEQ TYPE="OPERATOR">,</SEQ>
  175.  
  176.         <KEYWORDS>
  177.             <KEYWORD1>CDATA</KEYWORD1>
  178.             <KEYWORD1>EMPTY</KEYWORD1>
  179.             <KEYWORD1>INCLUDE</KEYWORD1>
  180.             <KEYWORD1>IGNORE</KEYWORD1>
  181.             <KEYWORD1>NDATA</KEYWORD1>
  182.             <KEYWORD1>#IMPLIED</KEYWORD1>
  183.             <KEYWORD1>#PCDATA</KEYWORD1>
  184.             <KEYWORD1>#REQUIRED</KEYWORD1>
  185.         </KEYWORDS>
  186.     </RULES>
  187.     <!-- }}} -->
  188.     
  189.     <!-- {{{ ENTITY-TAGS -->
  190.     <RULES SET="ENTITY-TAGS" DEFAULT="KEYWORD2">
  191.         <!-- SGML comment -->
  192.         <SPAN TYPE="COMMENT1">
  193.             <BEGIN><!--</BEGIN>
  194.             <END>--></END>
  195.         </SPAN>
  196.  
  197.         <!-- SGML comment -->
  198.         <SPAN TYPE="COMMENT1">
  199.             <BEGIN>--</BEGIN>
  200.             <END>--</END>
  201.         </SPAN>
  202.  
  203.         <SPAN TYPE="LITERAL1">
  204.             <BEGIN>"</BEGIN>
  205.             <END>"</END>
  206.         </SPAN>
  207.  
  208.         <SPAN TYPE="LITERAL1">
  209.             <BEGIN>'</BEGIN>
  210.             <END>'</END>
  211.         </SPAN>
  212.  
  213.         <SEQ TYPE="OPERATOR">=</SEQ>
  214.  
  215.         <SEQ TYPE="OPERATOR">%</SEQ>
  216.  
  217.         <KEYWORDS>
  218.             <KEYWORD1>SYSTEM</KEYWORD1>
  219.         </KEYWORDS>
  220.     </RULES>
  221.     <!-- }}} -->
  222.     
  223.     <!-- {{{ CDATA -->
  224.     <RULES SET="CDATA" DEFAULT="COMMENT2">
  225.         <KEYWORDS>
  226.             <LITERAL2>true</LITERAL2>
  227.             <LITERAL2>yes</LITERAL2>
  228.             <LITERAL2>false</LITERAL2>
  229.         </KEYWORDS>
  230.     </RULES>
  231.     <!-- }}} -->
  232.     
  233.     <!-- {{{ STRING -->
  234.     <RULES SET="STRING" DEFAULT="LITERAL1">
  235.         <!-- ant property -->
  236.         <SPAN TYPE="KEYWORD3">
  237.             <BEGIN>${</BEGIN>
  238.             <END>}</END>
  239.         </SPAN>
  240.         <SEQ TYPE="NULL">\"</SEQ>
  241.         <SEQ TYPE="MARKUP" DELEGATE="TAGS">"</SEQ>
  242.  
  243.         <SPAN TYPE="LITERAL2" NO_WORD_BREAK="TRUE">
  244.             <BEGIN>&</BEGIN>
  245.             <END>;</END>
  246.         </SPAN>
  247.         <KEYWORDS>
  248.             <LITERAL2>true</LITERAL2>
  249.             <LITERAL2>yes</LITERAL2>
  250.             <LITERAL2>false</LITERAL2>
  251.         </KEYWORDS>
  252.     </RULES>
  253.     <!-- }}} -->
  254.  
  255. </MODE>
  256.  
  257.             
  258.